﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TimetableSystem.Model
{
    /// <summary>
    /// A model object representing a piece of coursework
    /// </summary>
    public class Coursework
    {
        public Coursework(Guid courseworkId, string title, string description, DateTime startDate, DateTime endDate)
        {
            CourseworkId = courseworkId;
            Title = title;
            Description = description;
            StartDate = startDate;
            EndDate = endDate;
        }

        public Guid CourseworkId { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
    }
}
